package de.dubiel.plung.client.mvp;

import com.google.gwt.place.shared.PlaceHistoryMapper;
import com.google.gwt.place.shared.WithTokenizers;

import de.dubiel.plung.client.pages.account.AccountPlace;
import de.dubiel.plung.client.pages.game.GamePlace;
import de.dubiel.plung.client.pages.start.StartPlace;

/**
 * PlaceHistoryMapper interface is used to attach all places which the
 * PlaceHistoryHandler should be aware of. This is done via the @WithTokenizers
 * annotation or by extending PlaceHistoryMapperWithFactory and creating a
 * separate TokenizerFactory.
 */
@WithTokenizers({ StartPlace.Tokenizer.class, AccountPlace.Tokenizer.class, GamePlace.Tokenizer.class })
public interface AppPlaceHistoryMapper extends PlaceHistoryMapper {
}
